/*
 * @Description: 车辆列表-单项数据模型
 * @Author: ziwei.ma
 * @Date: 2019-08-20 19:01:03
 * @Last Modified by: ziwei.ma
 * @Last Modified time: 2019-08-20 19:02:42
 */

export class BusListModel {
  /**
   *
   * @param {Number} busID 车辆ID
   * @param {String} busName 车辆名称
   * @param {String} masterPicUrl 车辆主图（原始）
   * @param {String} masterPicUrlMin 车辆主图（小图）
   * @param {Number} availableSeat 可售座位数
   * @param {Number} totalSeat 总座位数
   */
  constructor(
    busID,
    busName,
    masterPicUrl,
    masterPicUrlMin,
    availableSeat,
    totalSeat
  ) {
    this.busID = busID
    this.busName = busName
    this.masterPicUrl = masterPicUrl
    this.masterPicUrlMin = masterPicUrlMin
    this.availableSeat = availableSeat
    this.totalSeat = totalSeat
  }
}
